<?php 
/**
 * 代金券类型模型

 */
defined('InShopNC') or exit('Access Invalid!');
class voucher_typeModel extends Model {
    /*
     * 根据类型参数获取类型列表
     */
    public function getList($condition){
        $voucher_type_list = $this->table('voucher_type')->where($condition)->find();
        return $voucher_type_list;
    }
}